Xbasic

SQL::ConnectionGetTableInfoFromDBF Method

Syntax

Result_Flag as L = SQL::TableInfo GetTableInfoFromDBF(Info BYREF as SQL::TableInfo, Table as P)

Result_Flag as L = SQL::TableInfo GetTableInfoFromDBF(Info BYREF as SQL::TableInfo, Table as C)

Arguments

Info BYREFSQL::TableInfo

A SQL::TableInfo object where the table definition will be stored.

TableNamePointer Character

An open table or DBF table name.

Returns

Result_FlagLogical

Returns TRUE (.T.) if the operation was successful; otherwise FALSE (.F.).

Description

Get the definition of a DBF table from an open table or by name.

Discussion

The GetTableInfoFromDBF() method retrieves the definition of a DBF table.

See Also